<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<link rel="stylesheet" href="../public/style/css/ch-ui.admin.css">
	<link rel="stylesheet" href="../public/style/font/css/font-awesome.min.css">
    <script type="text/javascript" src="../public/style/js/jquery.js"></script>
    <script type="text/javascript" src="../public/style/js/ch-ui.admin.js"></script>
</head>
<body>
    <!--面包屑导航 开始-->
    <div class="crumb_warp">
        <i class="fa fa-home"></i> <a href="#">博客首页</a>&raquo; <span>欢迎 {{$data['info']['username']}} 登陆</span>
        <a  style="float:right;margin-right: 10%" href="../controllers/LoginController.php?layout=1">退出登陆</a>
    </div>
    <!--面包屑导航 结束-->

    <!--搜索结果页面 列表 开始-->
        <div class="result_wrap">
            <!--快捷导航 开始-->
            <div class="result_content">
                <div class="short_wrap">
                    <a href="../controllers/CreateController.php"><i class="fa fa-plus"></i>新增文章</a>
                </div>
            </div>
            <!--快捷导航 结束-->
        </div>

        <div class="result_wrap">
            <div class="result_content">
                <table class="list_tab">
                    <tr>
                        <th class="tc" style="width: 10%;">ID</th>
                        <th class="tc" style="width: 15%;">标题</th>
                        <th class="tc" style="width: 45%;">标签</th>
                        <th class="tc"  style="width: 10%;">发布时间</th>
                        <th class="tc" style="width: 10%;">作者</th>
                        <th class="tc" style="width: 10%;">操作</th>
                    </tr>
                    <tr>
                        {{foreach from= $data['arr'] item=foo }}
                    <tr>
                        {{foreach from= $foo key=k item=v }}
                            {{if $k neq 'content'}}
                                {{if $k neq 'user_id'}}
                                <td class="tc">{{$v}}</td>
                                {{/if}}
                            {{/if}}
                        {{/foreach}}

                        <td style="text-align: center">
                            <a style="margin-left: 38%;" href="../controllers/EditController.php?id={{$foo['id']}}">查看</a>
                        </td>
                    </tr>
                    {{/foreach}}
                </table>
            </div>
        </div>

</body>
</html>
<script>

</script>